package com.ldk.framework.service;

import java.util.List;

import com.ldk.base.framework.service.IBaseService;
import com.ldk.framework.entity.ExpressOrder;
import com.ldk.framework.entity.ExpressOrderImages;

/**
* ExpressOrderService接口类
* @author xiangwl
*/
public interface IExpressOrderService extends IBaseService<ExpressOrder> {
	
	/**
	 * 发布快递订单
	 * @param dbKey
	 * @param model 快递信息
	 * @param images 快递获取图片
	 * @return
	 * @throws Exception
	 */
	Boolean publish(String dbKey, ExpressOrder model, List<ExpressOrderImages> images) throws Exception;
	
	/**
	 * 快递订单完成
	 * @param dbKey
	 * @param orderNo
	 * @param hasComment 是否评价
	 * @param star 评价星级,当hasComment=true时赋值有效
	 * @param content 评价内容,当hasComment=true时赋值有效
	 * @return
	 * @throws Exception
	 */
	Boolean complete(String dbKey, String orderNo, Boolean hasComment, Integer star , String content) throws Exception;
}
